Proactively check for NULL strings passed into xc_linx_build. Either do
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 10 Jan 2006 14:28:41 +0000 (15:28 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 10 Jan 2006 14:28:41 +0000 (15:28 +0100)
commit57ad8645a90aff77fd8c803d5cb27c213b5671aa
tree9f157ef237553b204fc0adab218e788c44bf8a0a
parent116bf770dc3f1d4cfff4eb0a4e35f9a921703dac
Proactively check for NULL strings passed into xc_linx_build.  Either do
the right thing or return error if detected.  A NULL cmdline, for example,
would currently generate a segfault.

Signed-off-by: Ben Thomas <bjthomas3@gmail.com>
tools/libxc/xc_linux_build.c
tools/libxc/xg_private.c